#include "day_shader.h"
#include <QApplication>

#include <CommonLib/MainWindow/MainWindow.h>
#include <CommonLib/ListWidget/ListWidget.h>
#include <osgDB/ReadFile>
#include <osg/MatrixTransform>
#include <osgGA/NodeTrackerManipulator>
#include <CommonLib/Shader/ShaderDemo.h>

int day_shader( int argc, char **argv )
{
    QApplication app(argc, argv);
    CMainWindow mainWindow;
    CListWidget listWidget(&mainWindow);

    osg::ref_ptr<CGlBuilder> rpGlScene = new CGlBuilder;
    listWidget.addModel("Shaders", rpGlScene->getRootNode() );
    mainWindow.home();
    mainWindow.setGeometry( 100, 100, 800, 600 );
    mainWindow.show();

    return app.exec();
}
